package org.dam.service.impl;

import org.dam.dao.UserDao;
import org.dam.dao.impl.UserDaoImpl;
import org.dam.service.UserService;

/**
 * @Author dam
 * @create 2024/1/5 19:32
 */
public class UserServiceImpl implements UserService {
    private UserDao userDao;

    // 利用set实现
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getUser() {
        userDao.getUser();
    }
}
